Best price-qty
GET/bot-gateway-service/api/v3/ticker/bookTicker
Fetches Best price/qty on the order book for a symbol or symbols.
- Parameter symbol and symbols cannot be used in combination.
- If neither parameter is sent, bookTickers for all symbols will be returned in an array.
Request
Query Parameters
- If the symbol is not sent, the best prices/quantities for all symbols will be returned in an array.
Symbol string
Trading symbol , e.g. XCBUSDT. (optional).
Example: BTCETH
Symbols string[]
Trading symbols (optional)
Example: [BTCUSDT, XCBETH]
Responses
- 200
- 401
Success
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
symbol stringnullable
bidPrice stringnullable
bidQty stringnullable
askPrice stringnullable
askQty stringnullable
[
{
"symbol": "string",
"bidPrice": "string",
"bidQty": "string",
"askPrice": "string",
"askQty": "string"
}
]
[
{
"symbol": "CTNBTC",
"bidPrice": "0.00000000",
"bidQty": "0.00000000",
"askPrice": "0.95000000",
"askQty": "1.00000000"
},
{
"symbol": "CTNLTC",
"bidPrice": "0.00000000",
"bidQty": "0.00000000",
"askPrice": "0.00000000",
"askQty": "0.00000000"
},
{
"symbol": "BTCETH",
"bidPrice": "9.00000000",
"bidQty": "2.00000000",
"askPrice": "9.10000000",
"askQty": "0.19869762"
}
]
Unauthorized
Loading...